/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 *
 * @format
 * @flow
 */

import React, {Component} from 'react'
import {Provider} from 'react-redux'
import store from './store/index'
import AppNavigator from './navigator'


type Props = {};
export default class App extends Component<Props> {
  render() {
      /**
       * 将store传递给AppNavigator
       */
      return <Provider store={store}>
        <AppNavigator/>
      </Provider>
  }
}


